package com.srd.phone.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

import com.shengrongdai.srd.R;

/**
 * 注册企业 信息
 */
public class RegisterEnterpriseInfoActivity extends BaseActivity implements View.OnClickListener {

    private EditText et_enterprise_name; //企业名称
    private EditText et_enterprise_phone; //企业固定电话
    private EditText et_enterprise_jigou; //请输入组织机构代码
    private EditText et_enterprise_number; //营业执照编号
    private EditText et_enterprise_shuiwu; //税务登记号
    private EditText et_enterprise_faren; //法人代表姓名
    private EditText et_enterprise_identitycard; //法人代表身份证号
    private EditText et_enterprise_contacts_people; //企业联系人姓名
    private EditText et_enterprise_contacts_card; //联系人身份证号
    private EditText et_enterprise_contacts_email; //联系人邮箱
    private Button bt_next;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_register_enterprise_info);
        initView();
    }

    @Override
    public void initView() {
        super.initView();
        tv_common_title.setText("企业信息");
        bt_next = (Button) findViewById(R.id.bt_next);
        bt_next.setOnClickListener(this);
        et_enterprise_name = (EditText)findViewById(R.id.et_enterprise_name);
        et_enterprise_phone = (EditText)findViewById(R.id.et_enterprise_phone);
        et_enterprise_jigou = (EditText)findViewById(R.id.et_enterprise_jigou);
        et_enterprise_number = (EditText)findViewById(R.id.et_enterprise_number);
        et_enterprise_shuiwu = (EditText)findViewById(R.id.et_enterprise_shuiwu);
        et_enterprise_faren = (EditText)findViewById(R.id.et_enterprise_faren);
        et_enterprise_identitycard = (EditText)findViewById(R.id.et_enterprise_identitycard);
        et_enterprise_contacts_people = (EditText)findViewById(R.id.et_enterprise_contacts_people);
        et_enterprise_contacts_card = (EditText)findViewById(R.id.et_enterprise_contacts_card);
        et_enterprise_contacts_email = (EditText)findViewById(R.id.et_enterprise_contacts_email);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.bt_next:
                startActivity(new Intent(mContext, RegisterEnterpriseBankCardActivity.class));
                break;
        }
    }
}
